package com.funkids.prxis.service;

import com.funkids.prxis.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author funkids
 * @since 2023-03-08
 */
public interface ISysUserService extends IService<SysUser> {

    SysUser getByUsername(String username);

    String getAuthorityInfoByid(Long userid);

    List<Long> getMenuIds(Long userid);

    void clearUserAuthorityInfo(String username);

    void clearUserAuthorityInfoByRoleId(Long roleId);

    void clearUserAuthorityInfoByMenuId(Long menuId);
}
